package main.resources.model.entity.moodle;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigInteger;


/**
 * The persistent class for the mdl_forum database table.
 * 
 */
@Entity
@Table(name="mdl_forum")
public class MdlForum implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private String id;

	private BigInteger assessed;

	private BigInteger assesstimefinish;

	private BigInteger assesstimestart;

	private BigInteger blockafter;

	private BigInteger blockperiod;

	private int completiondiscussions;

	private int completionposts;

	private int completionreplies;

	private BigInteger course;

	private boolean forcesubscribe;

    @Lob()
	private String intro;

	private int introformat;

	private BigInteger maxattachments;

	private BigInteger maxbytes;

	private String name;

	private boolean rssarticles;

	private boolean rsstype;

	private BigInteger scale;

	private BigInteger timemodified;

	private boolean trackingtype;

	private String type;

	private BigInteger warnafter;

    public MdlForum() {
    }

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public BigInteger getAssessed() {
		return this.assessed;
	}

	public void setAssessed(BigInteger assessed) {
		this.assessed = assessed;
	}

	public BigInteger getAssesstimefinish() {
		return this.assesstimefinish;
	}

	public void setAssesstimefinish(BigInteger assesstimefinish) {
		this.assesstimefinish = assesstimefinish;
	}

	public BigInteger getAssesstimestart() {
		return this.assesstimestart;
	}

	public void setAssesstimestart(BigInteger assesstimestart) {
		this.assesstimestart = assesstimestart;
	}

	public BigInteger getBlockafter() {
		return this.blockafter;
	}

	public void setBlockafter(BigInteger blockafter) {
		this.blockafter = blockafter;
	}

	public BigInteger getBlockperiod() {
		return this.blockperiod;
	}

	public void setBlockperiod(BigInteger blockperiod) {
		this.blockperiod = blockperiod;
	}

	public int getCompletiondiscussions() {
		return this.completiondiscussions;
	}

	public void setCompletiondiscussions(int completiondiscussions) {
		this.completiondiscussions = completiondiscussions;
	}

	public int getCompletionposts() {
		return this.completionposts;
	}

	public void setCompletionposts(int completionposts) {
		this.completionposts = completionposts;
	}

	public int getCompletionreplies() {
		return this.completionreplies;
	}

	public void setCompletionreplies(int completionreplies) {
		this.completionreplies = completionreplies;
	}

	public BigInteger getCourse() {
		return this.course;
	}

	public void setCourse(BigInteger course) {
		this.course = course;
	}

	public boolean getForcesubscribe() {
		return this.forcesubscribe;
	}

	public void setForcesubscribe(boolean forcesubscribe) {
		this.forcesubscribe = forcesubscribe;
	}

	public String getIntro() {
		return this.intro;
	}

	public void setIntro(String intro) {
		this.intro = intro;
	}

	public int getIntroformat() {
		return this.introformat;
	}

	public void setIntroformat(int introformat) {
		this.introformat = introformat;
	}

	public BigInteger getMaxattachments() {
		return this.maxattachments;
	}

	public void setMaxattachments(BigInteger maxattachments) {
		this.maxattachments = maxattachments;
	}

	public BigInteger getmaxbytes() {
		return this.maxbytes;
	}

	public void setmaxbytes(BigInteger maxbytes) {
		this.maxbytes = maxbytes;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public boolean getRssarticles() {
		return this.rssarticles;
	}

	public void setRssarticles(boolean rssarticles) {
		this.rssarticles = rssarticles;
	}

	public boolean getRsstype() {
		return this.rsstype;
	}

	public void setRsstype(boolean rsstype) {
		this.rsstype = rsstype;
	}

	public BigInteger getScale() {
		return this.scale;
	}

	public void setScale(BigInteger scale) {
		this.scale = scale;
	}

	public BigInteger getTimemodified() {
		return this.timemodified;
	}

	public void setTimemodified(BigInteger timemodified) {
		this.timemodified = timemodified;
	}

	public boolean getTrackingtype() {
		return this.trackingtype;
	}

	public void setTrackingtype(boolean trackingtype) {
		this.trackingtype = trackingtype;
	}

	public String getType() {
		return this.type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public BigInteger getWarnafter() {
		return this.warnafter;
	}

	public void setWarnafter(BigInteger warnafter) {
		this.warnafter = warnafter;
	}
	
	public String toString() {
		return "{id: " + this.id + "; course: " + this.course + "; name: " + this.name + "; intro: " + this.intro + "}";
	}

}